<?php
    include("./../dbconn.php");

    $id = $_GET['Id'];
    $sql = "delete from platinum_member where Id= $id";

    if($conn->query($sql) === true){
        $data["code"] = 0;
    }else{
        $data["code"] = 1;
    }

    echo json_encode($data);
?>